package cn.bdqn.dao;

import java.util.Date;
import java.util.List;

import cn.bdqn.pojo.News;
import cn.bdqn.pojo.NewsCategory;
import cn.bdqn.pojo.NewsComment;

public interface NewsCommentDao {
	//根据新闻ID查询新闻评论
	public List<NewsComment> getNewsCommentListByNewsId(News news);
	
	//增加某条新闻下的评论信息
	public boolean add(NewsComment newsComment);
	
	//根据评论ID修改评论内容
	public boolean update(NewsComment newsComment);
	
	//根据评论ID删除评论
	public boolean deleteById(NewsComment newsComment);
	
	//根据新闻ID删除评论（批量删除）
	public int deleteByNewsId(NewsComment newsComment);
	
	
}
